%ECHO OFF
%ECHO Starting ECS System
PAUSE
%ECHO ECS Monitoring Console
START "MUSEUM ENVIRONMENTAL CONTROL SYSTEM CONSOLE" /NORMAL java ECSConsole %1
%ECHO Starting Temperature Controller Console
START "TEMPERATURE CONTROLLER CONSOLE" /MIN /NORMAL java TemperatureController %1
%ECHO Starting Humidity Sensor Console
START "HUMIDITY CONTROLLER CONSOLE" /MIN /NORMAL java HumidityController %1
START "TEMPERATURE SENSOR CONSOLE" /MIN /NORMAL java TemperatureSensor %1
%ECHO Starting Humidity Sensor Console
START "HUMIDITY SENSOR CONSOLE" /MIN /NORMAL java HumiditySensor %1

%ECHO Starting Window Sensor Console
START "WINDOW SENSOR" /MIN /NORMAL java WindowSensor localhost SecurityManager
%ECHO Starting Door Sensor Console
START "DOOR SENSOR" /MIN /NORMAL java DoorSensor localhost SecurityManager
%ECHO Starting Motion Sensor Console
START "MOTION SENSOR" /MIN /NORMAL java MotionSensor localhost SecurityManager
START "SECURITY CONTROLLER" /MIN /NORMAL java SecurityController localhost SecurityManager
START "SIMULATOR" /MIN /NORMAL java Simulator localhost SecurityManager
START "SECURITY MONITOR" /MIN /NORMAL java SecurityMonitorA localhost SecurityManager
